package com.jiantong.work.service;

import com.jiantong.work.dto.RetailImmunizationRecordDto;
import com.jiantong.work.model.RetailImmunizationSubRecord;
import io.terminus.common.model.Response;

/**
 * Created by mz on 18/9/17.
 *
 */
public interface RetailImmunizationRecordWriteService {

    /**
     * 新建一条散户的免疫记录
     * @param retailImmunizationRecordDto 免疫记录对象
     * @return Long
     */
    Response<Long> create(RetailImmunizationRecordDto retailImmunizationRecordDto , Integer toStatus);

    /**
     * 更新散户的免疫记录
     * @param retailImmunizationSubRecord 免疫记录对象
     * @return Boolean
     */
    Response<Boolean> update(RetailImmunizationRecordDto retailImmunizationRecordDto , Integer toStatus);
}
